package com.lezhi.socialgram.service.sys;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.lezhi.socialgram.model.sys.SignUpUser;
import com.lezhi.socialgram.util.Result;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by daizhen on 2017/3/26.
 */
public interface SignUpService {

    @Transactional(propagation = Propagation.REQUIRED, isolation = Isolation.DEFAULT)
    Result signUp(SignUpUser signUpUser);

    Result checkTelNumSignUp(String telNum);
}
